package org.aeon.message.response;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.dto.UserDto;

import java.io.Serial;
import java.util.List;

/**
 * @author: MissingAeon
 * @date: 2024/1/26 9:04
 * @description:
 */
@Getter
@Setter
@ToString
public class ListQueryResponseMessage extends ResponseMessage {
    @Serial
    private static final long serialVersionUID = 3537278557005044793L;
    private List<UserDto> list;

    public void setMessage(List<UserDto> list) {
        this.list = list;
    }

    @Override
    public int getMessageType() {
        return ListQueryResponseMessage;
    }
}
